<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
${requestScope.error}
<form action="doaddstudent.jsp" method="post">
    <input type="text" placeholder="姓名" name="name" value="${param["name"]}"><br>
    <input type="radio" <c:if test="${param['gender'] == '男'}">checked="checked" </c:if> name="gender" value="男"> 男
    <input type="radio" <c:if test="${param['gender'] == '女'}">checked="checked" </c:if> name="gender" value="男"> 女<br>
    <input type="date" name="bornday" value="${param['bornday']}">
    <input type="submit" value="保存">
</form>
</body>
</html>
